#pragma once
#include "DXAMLCommon.h"


class IPALGlyphBitmap
{
public:
	virtual HRESULT OverscaleX() = 0;
	virtual HRESULT OverscaleY() = 0;
	virtual HRESULT OriginX() = 0;
	virtual HRESULT OriginY() = 0;
	virtual unsigned int FullCT() = 0;
	virtual unsigned int Grayscale() = 0;
	virtual unsigned int Width() = 0;
	virtual unsigned int Height() = 0;
	virtual unsigned int Stride() = 0;
	virtual char *GetBitmap() = 0;
	virtual void Create(int overscaleX, int overscaleY, int originX, int originY, unsigned int fFullCT, unsigned int fGrayscale, unsigned int width, unsigned int height, unsigned int stride, char *pBytes) = 0;
	virtual unsigned int MemoryUsage() = 0;
	virtual HRESULT GetSubpixelYTop(int) = 0;
	virtual HRESULT GetSubpixelYBottom( int nAAShiftY) = 0;
	virtual HRESULT GetSubpixelXLeft(int nAAShiftY) = 0;
	virtual HRESULT GetSubpixelXRight(int nAAShiftX) = 0;
	virtual XUINT32 AddRef() = 0;
	virtual XUINT32 Release() = 0;
};